//
//  SwipeGestureLayer.h
//  CanYouDoIt
//
//  Created by hoangtx on 7/7/13.
//
//

#ifndef CanYouDoIt_SwipeGestureLayer_h
#define CanYouDoIt_SwipeGestureLayer_h

#include "cocos2d.h"
using namespace cocos2d;
class SwipeGestureLayer:public CCLayer{
    CCPoint touchBeginPoint;

public:
    
    virtual void goToNext();
    virtual void goToPrev();
    virtual void ccTouchesBegan(CCSet* touches, CCEvent* pEvent);
    virtual void ccTouchesMoved(CCSet* touches, CCEvent* pEvent);
    virtual void ccTouchesEnded(CCSet* touches, CCEvent* pEvent);
    virtual bool init();
    CREATE_FUNC(SwipeGestureLayer);
};


#endif
